package test.com.linkgie.galaxyframework.binaryserialize;

import com.linkgie.galaxyframework.binaryserialize.BinaryType;
import com.linkgie.galaxyframework.binaryserialize.BinaryField;
import com.linkgie.galaxyframework.binaryserialize.PrimitiveType;

/**
 * 
 */
@BinaryType(code = 0x06, name = "Primitive", description = "")
public interface FieldOrderConflictedDatas {

	@BinaryField(index = 2, primitiveType = PrimitiveType.BOOLEAN)
	boolean isEnable();

	@BinaryField(index = 3, primitiveType = PrimitiveType.INT8)
	byte isBoy();

	@BinaryField(index = 7, primitiveType = PrimitiveType.INT16)
	short getAge();

	@BinaryField(index = -1, primitiveType = PrimitiveType.INT32)
	int getId();

	@BinaryField(index = 6, primitiveType = PrimitiveType.TEXT)
	String getName();
	
	@BinaryField(index = 7, primitiveType = PrimitiveType.INT64)
	long getValue();
	

}
